from rest_framework.serializers import ModelSerializer
from circuit.models import Path, PathPoint, PathVehicle


class PathSerializer(ModelSerializer):

    class Meta:
        model = Path
        fields = '__all__'


class PathPointSerializer(ModelSerializer):

    class Meta:
        model = PathPoint
        fields = '__all__'


class PathVehicleSerializer(ModelSerializer):

    class Meta:
        model = PathVehicle
        fields = '__all__'
